
import repl from 'repl';
import history from './history.mjs';
import * as R from 'rambdax';
import F from 'ramda-fantasy';
import S from 'sanctuary';
import greetings from './greetings.mjs';

console.log(greetings);


const Ewe = () => {
    const bleat = repl.start({
        prompt: 'λ ',
        replMode: repl.REPL_MODE_STRICT
    });
    history(bleat, process.env.HOME + '/.rambda_history');
    bleat.context.R = R;
    R.map((r) => bleat.context[r] = R[r], R.keys(R));
    bleat.context.F = F;
    R.map((f) => bleat.context[f] = F[f], R.keys(F));
    bleat.context.S = S;

}

export default Ewe;
